package cn.zhku.edu.userservice.service;

import cn.zhku.edu.feign.common.R;
import cn.zhku.edu.feign.pojo.entry.Product;
import cn.zhku.edu.feign.pojo.entry.User;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserServies extends IService<User> {
    public int deleteByPrimaryKey(String uid);

    public int insert(User record);

    public int insertSelective(User record);

    public User selectByPrimaryKey(String uid);

    public int updateByPrimaryKeySelective(User record);

    public int updateByPrimaryKey(User record);

    User findByName(String name);
    String findPswByName(String UserName);

    public R login(User user);
    String regist(User user);


}
